<template>
	<view class="main-box">
		<view class="app-icon">
			<u-image border-radius="20" width="200rpx" height="200rpx" :src="'../../static/image/logo.png'" :fade="true"></u-image>
		</view>
		<view class="app-info">
			<text>三叶阅读</text>
			<text>V {{version}}</text>
		</view>
		<view class="footer">
			本站所收录小说作品、社区话题、书库评论均属其个人行为，不代表本站立场。
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				version: '1.0.0'
			}
		},
		onLoad(options) {
			// #ifdef APP-PLUS   
			plus.runtime.getProperty(plus.runtime.appid, (wgtinfo) => {
				this.version = wgtinfo.version
			})
			// #endif
		},
		methods: {

		}
	}
</script>

<style scoped>
	.main-box {
		display: flex;
		flex-direction: column;
		align-items: center;
		padding: 200rpx 0 0 0;
		width: 100vw;
		height: 100vh;
	}

	.app-info {
		margin-top: 50rpx;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	.app-info text:first-child {
		font-size: 36rpx;
		margin-bottom: 10rpx;
	}

	.app-info text:last-child {}

	.app-icon {
		border-radius: 20rpx;
		box-shadow: 0 40rpx 80rpx #888;
	}

	.footer {
		position: fixed;
		bottom: 40rpx;
		left: 0;
		padding: 40rpx;
		font-size: 28rpx;
	}
</style>
